<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link href="https://cdn.bootcss.com/material-design-icons/3.0.1/iconfont/material-icons.css" rel="stylesheet">
    <title>帮助中心</title>
    <style>
        *{
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Poppins', sans-serif;
        }
        section{
            display: flex;
            justify-content: center;
            align-items: center;
            min-height: 100vh;
            background: linear-gradient(-30deg, #03a9f4 0%, #3a78b7 50%, #262626 50%, #607d8b  100%);
            filter: hue-rotate(120deg);
            animation: animate 10s linear infinite;
        }
        @keyframes animate{
            0%
            {
                filter: hue-rotate(0beg);
            }
            100%
            {
                filter: hue-rotate(360deg);
            }
        }
        .box{
            position: relative;
            padding: 50px;
            width: 360px;
            height: 480px;
            display: flex;
            justify-content: center;
            align-items: center;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 6px;
            box-shadow: 0 5px 35px rgba(0, 0, 0, 0.2);
        }
        .box::after{
            content: '';
            position: absolute;
            top: 5px;
            left: 5px;
            right: 5px;
            bottom: 5px;
            border-radius: 5px;
            pointer-events: none;
            background: linear-gradient(to bottom, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0.1) 15%, transparent 50%, transparent 85%, rgba(255,255,255,0.3) 100%);
        }
        .box .form{
            position: relative;
            width: 100%;
        }
        .box .form h1{
            color: #fff;
            font-weight: 800;
            font-size: 30px;
            letter-spacing: 2px;
            margin-bottom: 30px;
        }
        ul{
            background: transparent;
            width: 100%;
        }
        ul li{
            display: block;
            font-family: 'Poppins', sans-serif;
            font-size: 20px;
            color: white;
            padding: 8px 10px;
            box-shadow: 0 0 25px rgba(0, 0, 0, 0.2);
            border-radius: 6px;
            padding-left: 75px;
        }
        ul li:hover{
            color: white;
            background-color: #95efb7;
            cursor: pointer;
        }

        .hide {
            display: none;
        }

        .modal1{
            width: 400px;
            height: 200px;
            padding: 10px;
            border-radius: 5px;
            position:absolute;
            left: 50%;
            top: 0;
            margin-left: -200px;
            margin-top: -250px;
            z-index: 10;
            background-color: white;
            opacity: 0.9;
        }

        .modal2{
            width: 400px;
            height: 200px;
            padding: 10px;
            border-radius: 5px;
            position:absolute;
            left: 50%;
            top: 0;
            margin-left: -200px;
            margin-top: -250px;
            z-index: 10;
            background-color: white;
            opacity: 0.9;
        }

        .modal3{
            width: 400px;
            height: 200px;
            padding: 10px;
            border-radius: 5px;
            position:absolute;
            left: 50%;
            top: 0;
            margin-left: -200px;
            margin-top: -250px;
            z-index: 10;
            background-color: white;
            opacity: 0.9;
        }

        .modal4{
            width: 400px;
            height: 250px;
            padding: 10px;
            border-radius: 5px;
            position:absolute;
            left: 50%;
            top: 0;
            margin-left: -200px;
            margin-top: -250px;
            z-index: 10;
            background-color: white;
            opacity: 0.9;
        }

        .modal5{
            width: 400px;
            height: 200px;
            padding: 10px;
            border-radius: 5px;
            position:absolute;
            left: 50%;
            top: 0;
            margin-left: -200px;
            margin-top: -250px;
            z-index: 10;
            background-color: white;
            opacity: 0.9;
        }

        .shade {
            position: fixed;
            left: 0;
            right: 0;
            top: 0;
            bottom: 0;
            opacity: 0.6;
            background-color: gainsboro;
            z-index: 9;
        }

        h3 {
            margin-top: 10px ;
        }

        hr {
            margin: 20px;
        }

        p {
            text-align: center;
            font-family: 'Poppins', sans-serif;
        }

        .btns{
            float: right;
        }

        .btn1{
            padding: 5px;
            border: none;
            border-radius: 6px;
            background-color: #848484;
            line-height: 25px;
            color: white;
            cursor: pointer;
            font-family: 'Poppins', sans-serif;
        }

        .btn1:hover{
            border: 1px solid black;
        }

        .btn2{
            padding: 5px;
            border: none;
            border-radius: 6px;
            background-color: #027CFF;
            line-height: 25px;
            color: white;
            cursor: pointer;
            font-family: 'Poppins', sans-serif;
        }
    </style>
    <!-- Bootstrap -->
    <link href="css/bootstrap-4.0.0.css" rel="stylesheet">
</head>

<body>
<div th:insert="fragment/header :: top-header"></div>
<section style="display: flex;">
    <div class="box">
        <div class="form">
            <h1>帮助中心</h1>
            <form>
                <div class="pointBX">
                    <ul>
                        <li id="btn">功能介绍</li>
                        <li id="bt1">投诉</li>
                        <li id="bt2">关于本公司</li>
                        <li id="bt3">联系我们</li>
                        <li id="bt4">获取更多信息</li>
                    </ul>
                </div>
            </form>
        </div>
    </div>
</section>
<!-- 模态框 -->
<div class="modal1">
    <h3>功能介绍</h3>
    <hr>
    <p>本系统用于信用卡业务的办理和管理</p>
    <hr>
    <div class="btns">
        <button class="btn1">关闭</button>
        <button class="btn2">更多详情</button>
    </div>
</div>
<div class="modal2">
    <h3>投诉</h3>
    <hr>
    <p>投诉电话：010-88888888</p>
    <hr>
    <div class="btns">
        <button class="btn1">关闭</button>
        <button class="btn2">更多详情</button>
    </div>
</div>
<div class="modal3">
    <h3>关于本公司</h3>
    <hr>
    <p>XX连锁有限公司，致力于信用卡业务管理</p>
    <hr>
    <div class="btns">
        <button class="btn1">关闭</button>
        <button class="btn2">更多详情</button>
    </div>
</div>
<div class="modal4">
    <h3>联系我们</h3>
    <hr>
    <p>联系电话：18676894590</p>
    <p>座机：010-78319732</p>
    <p>企业微信：wxid_kjdlsfnlsf</p>
    <hr>
    <div class="btns">
        <button class="btn1">关闭</button>
        <button class="btn2">更多详情</button>
    </div>
</div>
<div class="modal5">
    <h3>获取更多信息</h3>
    <hr>
    <p>更多信息见网址：www.sinyongka.com</p>
    <hr>
    <div class="btns">
        <button class="btn1">关闭</button>
        <button class="btn2">更多详情</button>
    </div>
</div>
<!-- 遮罩 -->
<div class="shade hide"></div>
<script src="https://cdn.bootcdn.net/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
<script>
    //弹出模态框
    $('#btn').click(function () {
        $(".shade").removeClass("hide");
        $(".modal1").animate({top:'500px'},400);
    });
    //点击遮罩 去除模态框
    $(".shade").click(function(){
        $(".shade").addClass("hide");
        $(".modal1").animate({top:'-500px'},200);
    })
    //点击取消按钮 去除模态框和遮罩
    $(".btn1").click(function(){
        $(".modal1").animate({top:'-500px'},200);
        $(".shade").addClass("hide");
    })

    $('#bt1').click(function () {
        $(".shade").removeClass("hide");
        $(".modal2").animate({top:'500px'},400);
    });
    //点击遮罩 去除模态框
    $(".shade").click(function(){
        $(".shade").addClass("hide");
        $(".modal2").animate({top:'-500px'},200);
    })
    //点击取消按钮 去除模态框和遮罩
    $(".btn1").click(function(){
        $(".modal2").animate({top:'-500px'},200);
        $(".shade").addClass("hide");
    })

    $('#bt2').click(function () {
        $(".shade").removeClass("hide");
        $(".modal3").animate({top:'500px'},400);
    });
    //点击遮罩 去除模态框
    $(".shade").click(function(){
        $(".shade").addClass("hide");
        $(".modal3").animate({top:'-500px'},200);
    })
    //点击取消按钮 去除模态框和遮罩
    $(".btn1").click(function(){
        $(".modal3").animate({top:'-500px'},200);
        $(".shade").addClass("hide");
    })

    $('#bt3').click(function () {
        $(".shade").removeClass("hide");
        $(".modal4").animate({top:'500px'},400);
    });
    //点击遮罩 去除模态框
    $(".shade").click(function(){
        $(".shade").addClass("hide");
        $(".modal4").animate({top:'-500px'},200);
    })
    //点击取消按钮 去除模态框和遮罩
    $(".btn1").click(function(){
        $(".modal4").animate({top:'-500px'},200);
        $(".shade").addClass("hide");
    })

    $('#bt4').click(function () {
        $(".shade").removeClass("hide");
        $(".modal5").animate({top:'500px'},400);
    });
    //点击遮罩 去除模态框
    $(".shade").click(function(){
        $(".shade").addClass("hide");
        $(".modal5").animate({top:'-500px'},200);
    })
    //点击取消按钮 去除模态框和遮罩
    $(".btn1").click(function(){
        $(".modal5").animate({top:'-500px'},200);
        $(".shade").addClass("hide");
    })
</script>
</body>
</html>

